﻿using ProtobufNetShared;

namespace ProtobufNetService.Services
{
    public class GreeterService : IGreeterService
    {
        public Task<HelloReply> SayHelloAsync(HelloRequest request)
        {
            return Task.FromResult(new HelloReply 
            {
                Message = "你好 " + request.Name
            });
        }
    }
}
